.yg-detail {
  background-color: white;
  height: 100vh;

  // 头部标题
  .yg-detail-title {
    .searchContent-top {
      background: var(--themeColor);
      color: #fff
    }
  }

  // 轮播图
  .yg-detail-swiper {
    width: 100%;
    height: 6.666667rem !important;

    .imageWrapper {
      height: 6.666667rem !important;
      width: 80%;
      text-align: center;

      img {
        width: 80% !important;
        height: 100%;
      }
    }
  }

  // 分享收藏
  .yg-detail-fx {
    display: flex;
    padding: 0 0.266667rem;
    margin: 0.266667rem 0;
    justify-content: space-between;
    .active{
     color:var(--themeColor);
    }
    .detail-left {
      span {
        font-size: 0.533333rem;
        color: var(--themeColor);
      }
    }

    .detail-right {
      i {
        margin: 0 0.266667rem;
        font-size: 0.533333rem;
      }
    }
  }

  //商品名称
  .yg-detail-goods_name {
    padding: 0 0.4rem;
    font-size: 0.4rem;
    line-height: 0.6rem;
    margin-bottom: 0.266667rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  // 商品介绍
  .yg-raphic-detail {
    text-align: center;

    .yg-raphic-title {
      font-size: 0.48rem;
    }

    .goods-introduce {
      height: calc(100vh - 2.4rem);

      .lazyimg {
        margin-bottom: 1.333333rem;
      }
    }
  }

  // 底部按钮
  .yg-detail-floor {
    height: 1.333333rem;
    width: 100%;
    z-index: 999;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;

    .detail-floor-item {
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    .detail-floor-btn1 {
      background: #fdaa22;
      height: 0.8rem;
      width: 2.666667rem;
      line-height: 0.8rem;
      text-align: center;
      color: #fff;
      border-radius: 0.533333rem;
    }

    .detail-floor-btn2 {
      background: #fe0000;
      height: 0.8rem;
      width: 2.666667rem;
      line-height: 0.8rem;
      text-align: center;
      color: #fff;
      border-radius: 0.533333rem;
    }
  }
}